<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
<div class="timo-detail-page">
    <div class="timo-detail-title">任务触发详情</div>
    <table class="layui-table timo-detail-table">
        <tbody>
        <tr>
            <th width='100px'>任务名称</th>
            <td th:text="${entity.jobId}" colspan="4"></td>
        </tr>
        <tr>
            <th width='100px'>返回码</th>
            <td th:text="${entity.triggerResultCode}" colspan="4"></td>
        </tr>
        <tr>
            <th>触发时间</th>
            <td th:text="${#dates.format(entity.triggerTime, 'yyyy-MM-dd HH:mm:ss')}"></td>
            <th>完成时间</th>
            <td th:text="${#dates.format(entity.triggerEndTime, 'yyyy-MM-dd HH:mm:ss')}"></td>
        </tr>
        <tr>
            <th>执行参数</th>
            <td th:text="${entity.triggerParam}" colspan="4"></td>
        </tr>
        <tr>
            <th>信息</th>
            <td colspan="4">
                <textarea th:text="${entity.triggerResultMessage}" th:if="${entity.triggerResultMessage}" style="width: 100%; height: 100px"></textarea>
            </td>
        </tr>
        </tbody>
    </table>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>